Release 10.1A: OpenEdge Data Management:
Database Administration
Adding schema to a void database
When you use the PROSTRCT CREATE utility on a
.stfile, the resulting database files are referred to as a void database. A void database does not contain any OpenEdge RDBMS metaschema. The void database consists of the.dbextent and whatever.bi,.ai,.tl, and.dnextents you defined in the.stfile. You must add metaschema information to a void database. The OpenEdge RDBMS provides an empty database in the size of each supported database block size for this purpose.
![]()
To add metaschema information to a void database:
- Use the PROCOPY utility to copy the system tables from an empty OpenEdge database into the void database you created with PROSTRCT CREATE:
where
Note: The DLC directory in Windows is: %DLC%.emptynis the source database anddb-nameis the target database.nindicates the block size of the OpenEdge-suppliedempty.db. See the "PRODB utility" section for more information about theemptyandemptyndatabases.- Use the PROSTRCT LIST utility to verify that you have the correct database files in the correct locations:
Caution: If you do not specify an output file when using PROSTRCT LIST, your existing
.stfile will be overwritten to reflect the current structure.Note: The empty- Use the Data Dictionary to load the existing user tables (
.dffile) into your database..dbfile and the database you want copied to it must have the same block size. Similarly, if the blocks per cluster token was used with any data areas, the data areas of the empty.dbfile and those of the database you want copied to it must have the same blocks per cluster value.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |